home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2227 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: comma.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: manipulating the stack in C
  5. Message-ID: <AVV-x*3yf@yaps.rhein.de>
  6. Date: Sun, 28 Jan 1996 20:32:36 +0100
  7. References: <4e8b20$lsq@newshost.lanl.gov> <Sh++x*aE0@mkmk.in-chemnitz.de> <jasonb.822718223@cs.uwa.edu.au>
  8. Organization: Yet Another Private Site in Meckenheim, Germany
  9. X-Copyright: This article may not be distributed on a CD-ROM
  10.  or in printed form without prior written consent of the author.
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <jasonb.822718223@cs.uwa.edu.au>, Jason S Birch writes:
  14.  
  15. > I haven't got docs with me right now, but I think you'll find that
  16. > this is compiler-dependent - ANSI C, AFAIR, doesn't define the order
  17. > arguments will be put on the stack
  18.  
  19. Agreed, but for variadic functions (as discussed here), you'll incur
  20. some problems if you push arguments in another sequence than right-to-
  21. left. ;)
  22.  
  23. -- __
  24. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  25. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  26.